CRPEJob::AddParameterCurrentRange

Use CRPEJob::AddParameterCurrentRange to add a parameter range to the specified parameter field of a report.

Syntax
BOOL AddParameterCurrentRange (
        const _TCHAR *parameterFieldName,
        const _TCHAR *reportName,
        CRPEValueInfo *rangeStart,
        CRPEValueInfo *rangeEnd,
        short rangeInfo );
Parameters

parameterField
Name

Specifies a pointer to the parameter field name.

reportName

Specifies a pointer to the report name.

rangeStart

Specifies a pointer to CRPEValueInfo, which will contain the new lower bound of the value range.

rangeEnd

Specifies a pointer to CRPEValueInfo, which will contain the new upper bound of the value range.

rangeInfo

Use this bit mapped value to indicate whether the upper and/or lower bound of the range should be included. Set rangeInfo to one of the following constants.


Constant Value Description


PEP_RI_NOUPPERBOUND

4

rangeStart must contain valid information. Set rangeEnd to NULL.


PEP_RI_NOLOWERBOUND

8

rangeEnd must contain valid information. Set rangeStart to NULL.


PEP_RI_INCLUDEUPPERBOUND OR PEP_RI_INCLUDELOWERBOUND

3

Both rangeStart and rangeEnd must contain valid information.

Returns
Remarks


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com